runtime.gcCPULimiterState.bucket (field)
15 uses
runtime (current package)
mgclimit.go#L36: bucket struct {
mgclimit.go#L266: headroom := l.bucket.capacity - l.bucket.fill
mgclimit.go#L279: l.bucket.fill = l.bucket.capacity
mgclimit.go#L288: if change < 0 && l.bucket.fill <= uint64(-change) {
mgclimit.go#L290: l.bucket.fill = 0
mgclimit.go#L293: l.bucket.fill -= uint64(-change)
mgclimit.go#L330: l.bucket.capacity = uint64(nprocs) * capacityPerProc
mgclimit.go#L331: if l.bucket.fill > l.bucket.capacity {
mgclimit.go#L332: l.bucket.fill = l.bucket.capacity
mgclimit.go#L335: } else if l.bucket.fill < l.bucket.capacity {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |